﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class MasterPages_Master : System.Web.UI.MasterPage
{
    private AcountDTO acount;
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["Acount"] != null)
        {
            acount = (AcountDTO)Session["Acount"];
            MultiView1.ActiveViewIndex = 1;
            if (acount.Avarta != "")
            {
                avarta.ImageUrl = acount.Avarta;
                avarta2.ImageUrl = acount.Avarta;
            }
            lbFullName.Text = acount.getFullName();
            lbEmail.Text = acount.Email;
        }
        
            
    }
}
